/* *****************************************************************************
 * JFab (http://code.google.com/p/jfab)
 * Copyright (c) 2011 JFab.org
 * Admin jfab@jeffreythompson.net
 *
 * See the file "LICENSE.txt" for information on usage and redistribution of
 * this file, and for a DISCLAIMER OF ALL WARRANTIES.
 * *****************************************************************************/

package org.jfab.core.collection;

import java.util.ArrayList;
import java.util.Collection;

import org.jfab.core.model.CGInterface;

/**
 * Provides a code generator class list.
 */
public class CGInterfaceList extends CGObjectList<CGInterface>
{
    /**
     * Construct this object.
     */
    public CGInterfaceList()
    {
        super(new ArrayList<CGInterface>());
    }

    /**
     * Construct this object with the given parameter.
     * 
     * @param classes Classes.
     */
    public CGInterfaceList(final Collection<CGInterface> classes)
    {
        this();

        getList().addAll(classes);
    }
}
